<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="css/style.css" type="text/css"/>
</head>
<body>
<div align="center" style="width: 100%;margin-bottom:20px"><h2 style="display: inline">出 库 单</h2>
    <span style="float: right"><span>No:</span><span>${outstore.no}</span></span></div>
<div align="cetner" style="width: 100%">
    <span style="float: left">收货单位 (人):${outstore.receiver}</span><span id="date" style="float: right">${outstore.date}</span></div>
<table id="tab1" border="1px" align="center" cellspacing="0" cellpadding="0" width="100%" table-layout:fixed>
    <tr>
        <th style="width:30%">货 名</th>
        <th style="width:15%">单位</th>
        <th style="width:15%">数量</th>
        <th style="width:15%">单价(元)</th>
        <th style="width:15%">金额(元)</th>
    </tr>

    <c:forEach items="${outstore.storeGoods}" var="goods">
        <tr>
            <td>${goods.gname}</td>
            <td>${goods.unit}</td>
            <td>${goods.num}</td>
            <td>${goods.price}</td>
            <td>${goods.sum}</td>
        </tr>
    </c:forEach>

    <tr>
        <td>备 注</td>
        <td colspan="4">${outstore.remark}</td>
    </tr>

    <td>合计:</td>
    <td colspan="4"><span style="float: left;margin-left: 30px"><span>￥</span><span>${outstore.count}</span><span>（元）</span></span></td>
    </tr>
</table>

<div style="width: 100%"><span style="float: left">地址:河北省石家庄华信智源</span>
    <span style="float: right">出库人:${outstore.outman}</span>
</div>

<div align="center" style="margin-top: 30px"><a class="button blue"href="${pageContext.request.contextPath}/outstoreCtrl?parm=list">返回</a></div>

</body>
</html>
